/* syntax.cs
 */

using System; // for console i/o
using Saru.Base.Math;

public class SyntaxSync {
	public static int Main() {
		// print to stdout (how i flush() this?)
		Console.WriteLine("Starting checks... ");
		
		// begin syntax checks

		// 1) create 3x3-float matrix and 3-float vector.
		Saru.Base.Math.Vector3f myVector = new Saru.Base.Math.Vector3f();
		Saru.Base.Math.Matrix3f myMatrix = new Saru.Base.Math.Matrix3f();
		Saru.Base.Math.Vector3f myOutput = new Saru.Base.Math.Vector3f();

		myOutput = myMatrix * myVector;
		

		Console.WriteLine("done");
		
		// this is just to shut up the optimizer

		float myLen = myOutput.Length();
		return myLen > 0.0f ? 1 : 0;
	}
}
